$OpenBSD: patch-Wnn_jutil_oldatonewa_c,v 1.1 2017/04/29 14:31:40 espie Exp $
--- Wnn/jutil/oldatonewa.c.orig
+++ Wnn/jutil/oldatonewa.c
@@ -49,6 +49,8 @@ static char *rcs_id = "$Id: oldatonewa.c,v 1.3 1992/09
 /*	Version 4.0
  */
 #include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
 #include "commonhd.h"
 #include "wnn_os.h"
 #include "wnn_string.h"
@@ -94,7 +96,7 @@ extern int motoni2();
 static int get_line1();
 static char *get_string();
 
-void
+int
 main()
 {
   char buffer[LINE_SIZE];
